package com.xinbochuang.machine.admin.service.macRoom;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinbochuang.machine.admin.domain.macRoom.EquCabinet;
import com.xinbochuang.machine.admin.domain.macRoom.EquCabinetNode;
import com.xinbochuang.machine.admin.domain.macRoom.EquipmentType;
import com.xinbochuang.machine.admin.domain.macRoom.GeoCabinet;
import com.xinbochuang.machine.admin.domain.vo.CabinetSubBean;
import com.xinbochuang.machine.admin.dto.EquCabinetDto;

/**
 *
 * @author 杜文博
 * @date 2020-09-08
 */
public interface IEquCabinetService extends IService<EquCabinet> {

    List<EquCabinetDto> findEquCabinetDetail(String macRoom);

    List<EquCabinetDto> findEquCabinetByName(String binetName);

    IPage<EquCabinet> findEquCabinetListByName(EquCabinet equCabinet);

    Map<String, Object> getDetialById(EquCabinet equCabinet);

//	void appEdit(CabinetSubBean cabinetSubBean);

    void contractInsert(CabinetSubBean cabinetSubBean);

	List<EquipmentType> getAllType();

    List<EquCabinetNode> findEquCabinetNodeByMacId(String macId);

    /**
     * cad导入机柜
     *
     * @param list cad机柜数据
     * @return 结果
     */
    boolean cadAdd(List<GeoCabinet> list);

    void editNoOrder(CabinetSubBean cabinetSubBean);

    Map<String,Object> getDetialById(EquCabinet equCabinet, String planId);
}
